package com.shunda.ysdgj.manager.service.system;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shunda.ysdgj.model.dto.base.IdsDto;
import com.shunda.ysdgj.model.dto.system.SysRoleFindDto;
import com.shunda.ysdgj.model.entity.system.SysRole;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SysRoleService {
    public List<SysRole> findAll();
    public IPage<SysRole> findByPage(SysRoleFindDto sysRoleFindDto);
    public boolean add(SysRole sysRole);
    public boolean modify(SysRole sysRole);
    public boolean deleteByIds(IdsDto idsDto);
    public void exportToExcel(HttpServletResponse response);
    public void importFromExcel(MultipartFile file);
}
